package zad1;
public class Consumer extends Thread {
	private Buffer _buf;

	public void run() {
		for (int i = 0; i < 100; ++i) {
			System.out.println(_buf.get());
		}
	}
	public Consumer(Buffer b) {
		_buf = b;
	}
	
}
